package com.kevin.ms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 *
 * @author Kevin Liu
 * @date 2020/1/5 21:10
 * @since 1.0
 */
@Data
@TableName("miaosha_user")
public class MiaoshaUser implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String nickname;

    private String password;

    private String salt;

    private String head;

    private Date registerDate;

    private Date lastLoginDate;

    private Integer loginCount;
}
